From: Timm Bäder Date: Fri, 19 Aug 2016 17:10:28 +0000 (+0200) Subject: recorder: Print absolute path if output file can't be opened X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~763 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=d658a5148ae2442b66a7dbdce16ec3db3180cd01;p=gnome-shell.git recorder: Print absolute path if output file can't be opened --- diff --git a/src/shell-recorder.c b/src/shell-recorder.c index 981b7d1f0..cb2e93f76 100644 --- a/src/shell-recorder.c +++ b/src/shell-recorder.c @@ -1075,7 +1075,7 @@ recorder_open_outfile (ShellRecorder *recorder, if (outfile == -1 && errno != EEXIST) { - g_warning ("Cannot open output file '%s': %s", filename->str, g_strerror (errno)); + g_warning ("Cannot open output file '%s': %s", path, g_strerror (errno)); g_string_free (filename, TRUE); g_free (path); goto out;